package com.laf.mapper;

import com.laf.model.Apply;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: He Changjie  on  2018-10-02
 * @description:
 */
@Repository
public interface ApplyMapper {

    /**
     * 查询全部申请表
     * @return 申请list
     */
    public List<Apply> findAll();

    /**
     * 保存一个申请
     * @param apply 申请
     * @return 被更新的行数
     */
    public int save(Apply apply);
}
